//
//  Button.m
//  Work1
//
//  Created by cora1n on 14-8-15.
//  Copyright (c) 2014年 devwu. All rights reserved.
//

#import "Button.h"
#import <objc/message.h>
@implementation Button
-(void)setBlock:(Block)block
{
    _block = block;
}







-(void)setTarget:(id)target aciton:(SEL)action
{
//    _target = target;
//    _action = action;
}
-(void)doButton
{
    _block();
//    [_target performSelector:_action];
//    objc_msgSend(_target, _action);
}
@end
